<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator"
%><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"
%><%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"
%><%@ taglib prefix="spring" uri="http://www.springframework.org/tags"
%><%@ taglib prefix="security" uri="http://www.springframework.org/security/tags"
%><%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"
%>
<h1 id="logo"><a href="${pageContext.request.contextPath}/index"><fmt:message key="application_name"/></a></h1>

<div id="members_area">        
    <security:authorize ifAllGranted="ROLE_USER">
        | <a href="${pageContext.request.contextPath}/config/index">${accountContext.account.login}</a>
        | <a href="${pageContext.request.contextPath}/logout"><fmt:message key="layouts_logout"/></a>
    </security:authorize>
</div>
